﻿var app = app || {};
(function () {

    $.extend(app, {
        consts: {
            grid: {
                defaultPageSize: 10,
                defaultPageSizes: [10, 20, 50, 100,200,300]
            },
            userManagement: {
                defaultAdminUserName: ['admin', 'system', 'mountor']
            },
            isSuper: 30149,
            isAdmin: 20534,
            contentTypes: {
                formUrlencoded: 'application/x-www-form-urlencoded; charset=UTF-8'
            },
            friendshipState: {
                accepted: 1,
                blocked: 2
            },
            ckeditor:{
                language: 'en',
                getConfig: function (index) {
                    return {
                        autosave: { SaveKey: 'autosave_' + window.location + "_" + index } ,
                        language : app.consts.ckeditor.language
                    };
                }
            },
            datepicker: {
                language: 'en'
            }
        }
    });

})();